package com.reapal.model;

import com.baomidou.mybatisplus.generator.config.TemplateConfig;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TemplateConfigcus extends TemplateConfig {
    private String dto = "/templates/dto.java";
    private String dtoKt = "/templates/dto.kt";



    public String getDto(boolean kotlin) {
        return kotlin ? this.dtoKt : this.dto;
    }

    public String getDtoKt() {
        return this.dtoKt;
    }

}
